package com.gh.pattern.strategy;

public class PaState {
    private String code;
    private Object data;
    private String msg;

    public PaState(String code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return ("请求状态：" +code + ",获取的数据：" + data + "说明信息：" + msg);
    }
}
